package com.ate.special3;

/**
 * @author Ate
 * @description: 礼物类
 * @date :2020/11/16 13:31
 */
public class AnimMessage {
    private String userName;  //送礼物的user
    private int giftNum;  //礼物数量
    private boolean isComboAnimationOver;  //判断当前礼物连击是否完成
    private long updateTime;  //当前礼物展示时间，用来对比礼物是否三秒消失
    private String giftName;  //礼物名

    public AnimMessage(String userName, int giftNum, String giftName) {
        this.userName = userName;
        this.giftNum = giftNum;
        this.giftName = giftName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getGiftNum() {
        return giftNum;
    }

    public void setGiftNum(int giftNum) {
        this.giftNum = giftNum;
    }

    public boolean isComboAnimationOver() {
        return isComboAnimationOver;
    }

    public void setComboAnimationOver(boolean comboAnimationOver) {
        isComboAnimationOver = comboAnimationOver;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public String getGiftName() {
        return giftName;
    }

    public void setGiftName(String giftName) {
        this.giftName = giftName;
    }
}
